<?php

class commonControl extends Control {

    function __auto() {
        $db = M("config");
        $base = $db->field("conf_title,conf_value")->where("type=2")->select();
        $info = array();
        foreach ($base as $v){
            $info[$v['conf_title']] = $v['conf_value'];
        }
    }

}

?>
